<table class="table table-bordered">
    <thead>
    <tr>
        <th width="12%">商户订单号</th>
        <th width="12%">第三方订单号</th>
        <th width="6%">支付方式</th>
        <th width="6%">订单金额</th>
        <th width="6%">提问ID</th>
        <th width="8%">提问用户ID</th>
        <th width="6%">提问用户</th>
        <th width="10%">订单时间</th>
        <if condition="$params.status eq 3">
            <th width="10%">退款时间</th>
        </if>
        <th width="6%">操作</th>
    </tr>
    </thead>
    <tbody>
    <volist name="list" id="row" key="k">
        <tr class="listBg">
            <td>{$row.order_sn}</td>
            <td>{$row.pay_sn}</td>
            <td>{$row.pay_type}</td>
            <td>{$row.order_amount}</td>
            <td>{$row.question_id}</td>
            <td>{$row.user_id}</td>
            <td>{$row.user_name}</td>
            <td>{$row.create_time}</td>
            <if condition="$params.status eq 3">
                <td>{$row.return_time}</td>
            </if>
            <td>
                <a href="{:U('QuestionOrder/questionOrderInfo',['id'=>$row['id']])}"
                   target="_blank">查看</a>
                <if condition="$row.status eq 2">
                    <a href="#" onclick="return question_order_refund({$row['id']})">退款</a>
                </if>
            </td>
        </tr>
    </volist>
    </tbody>
</table>
<div class="pageFaye">
    <div class="pager">{$page}</div>
    <div class="clear"></div>
</div>
